//
//  Ltestview.h
//  view
//
//  Created by 1217 on 15/12/23.
//  Copyright © 2015年 路一枭. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol LtestviewDelegate <NSObject>
@optional
- (void)clickActionInSection:(NSString *)rowStr2 row:(NSString *)rowStr row3:(NSString *)rowStr3;
- (void)cancelAction;

@end


@interface Ltestview : UIView
//typedef void(^block)(NSInteger section,NSInteger row);

- (instancetype)initWithFrame:(CGRect)frame;
- (void)showInView:(UIView *)view clickAction:(void(^)(NSInteger section,NSInteger row))block;



- (instancetype)initWithFrame:(CGRect)frame delegate:(id<LtestviewDelegate>)delegate;

//title做key，value为子菜单数组
@property (nonatomic,retain)NSDictionary *titleDes;
@property (nonatomic,retain)NSArray *titles;
@property (nonatomic,retain)id<LtestviewDelegate> delegate;


@end
